HTML Export <font> wrong ...

edited March 2009 in FastReport 4.0
Is this a possible bug in HTML export (FR4.7)?

When assigning the followg text to a TfrxMemoView, with font set to black, AllowHTMLTags=true:
<font color="#C0C0C0">123</font> - Order Details

The HTML Export starts adding quotes (& q u o t ; ) around the color code:
<font color="#C0C0C0">123</font> - Order Details</td>

Comments

  • edited 7:48AM
    Note:

    What I'm trying to do is to indent the text in HTML by adding some text in front of it with the same color as the background.
    I have a rectangle bar, in which I'd like to have text indented, so I'm using a tfrxmemoview with a frame.

    To indent the text, I did try using GapX = 20, but that info seems to get lost in HTML (although it could be made part of the CSS?).

    I also tried extra spaces in front of it, but they do not get replaced by   so that didn't work either.

    Finally I tried placing the tfrxmemoview over a rectangle shape but the memoview seems to damage the underlaying rectangle (part of the border disappears).
  • edited 7:48AM
    I also noticed that a frxOverlay (not on top) is considered an image with HTML export, versus a background image.
    I'm using an frxOverlay for a watermark warning when a report is to be used for within the company only.

    I could of course make a background image and turn it on/off depending on my needs.

    I just figured this would be good input for when the HTMLExport is being optimized >

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.